question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I was searching information about how/when/where to use hitArea, and didn’t find anything about it in the docs.

  1. On what classes can be used?
  2. How it works? Is it magic, or I have to check on my own something?

Thank you!

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ivanpopelyshevcommented, Feb 22, 2017

Sprite and TilingSprite are containers too. I dont know why is it in the docs

And the hitArea prop will be validated only if interactive is true, right?

yep

0reactions
lock[bot]commented, Feb 24, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Docs] hitArea · Issue #3775 · pixijs/pixijs - GitHub
I was searching information about how/when/where to use hitArea, and didn't find anything about it in the docs. On what classes can be...
Read more >
PIXI.Container - PixiJS API Documentation
PIXI.Container. Container is a general-purpose display object that holds children. It also adds built-in support for advanced rendering features ...
Read more >
H.map.HitArea - HERE Developer
This class represents an area that objects, such as a marker, occupy in the screen space. Such objects can be probed and returned...
Read more >
setHitArea - Phaser 3 API Documentation (beta)
Sets the hit area for the given array of Game Objects. A hit area is typically one of the geometric shapes Phaser provides,...
Read more >
Phaser 3 API Documentation - Namespace: Input
Parameters: ; hitArea, any. The hit area object. ; x, number. The translated x coordinate of the hit test event. ; y, number....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found