1
Ask a Question / [Solved] How can I detect collisions when using Set X/Y?
« on: August 24, 2018, 11:24:56 am »
I'm trying to make a menu using an arrow-controlled cursor. My intent is for it to jump a standard distance when a key is pressed, check to see if it's touching an actor of the "Buttons" group, and if not, immediately return to its previous position.
From searching the forums and elsewhere, I'm gathering that collisions intentionally don't work when using the Set X/Y block, which explains all the trouble I'm having.
I've been trying to work up some kludges to get around this, but I feel like there's gotta be some elegant solution to create such a simple effect. How should I be approaching this?
From searching the forums and elsewhere, I'm gathering that collisions intentionally don't work when using the Set X/Y block, which explains all the trouble I'm having.
I've been trying to work up some kludges to get around this, but I feel like there's gotta be some elegant solution to create such a simple effect. How should I be approaching this?