phaser icon indicating copy to clipboard operation
phaser copied to clipboard

hitarea debug only to be visible if the object is visible

Open orjandh opened this issue 1 year ago • 0 comments

When using enableDebug for input hitarea maybe it would be best if the debug rectangle is hidden when the gameobject is set to not visible. The reason for this is that pointer inputs are not fired for hidden gameobjects.

Maybe it could be achieved by using the renderFlags of the gameobject.

orjandh avatar Jan 25 '23 13:01 orjandh