This works, but it causes massive fps drops.
I want to make it so that it only triggers once when your cursor is hovering over a different tile on a tilemap.
Different tile or different tile position? either way, you could save that data after clicking in a variable and compare on click to the one you're currently on if it's the same as your variable ignore the command.
Maybe just try giving it a subevent that runs every .05 seconds and transfer your actions onto that subevent?
Develop games in your browser. Powerful, performant & highly capable.
No, this is really inconvient and doesn't feel right.