Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SUGGESTION] Cycle objects when pressing on the same object multiple times #53

Open
chky-nmnsoftware opened this issue Oct 1, 2024 · 0 comments

Comments

@chky-nmnsoftware
Copy link

This is a suggestion that is based off of another PIXI DevTool which makes development a bit easier. As of right now, it seems like the tool selects the highest possible non-container object whenever you use the pick tool. However, if there are sprites inside sprites (or under them, in the case of a sprite with a transparent texture), it fails to pick up on that.

I suggest that when you click somewhere, it should treat it more like a cycle rather than single target. Instead of just fetching one object, it should fetch all objects within those coordinates and for every click, loop through each one. That way, you can dive deeper inside a tree without having to manually search for the objects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant