Hi,
I have a setup where a type of sprite can be rotated 90 degrees clockwise or counter-clockwise depending on whether S or D is pressed. I'm currently using "Pick nearest to player sprite" to rotate, but sometimes more than one sprite rotates if there's multiple instances of them on screen. How to I pick only one instance at a time?
You need to show a screenshot of your events.
Hi dop2000.
Here's a screenshot. Sometimes the sprites rotate even though they're offscreen. I tried adding and inverting "is outside layout" but it didn't work.
I don't see how this event can pick and rotate more than one sprite instance. This shouldn't be happening. Can you share the project file?
Develop games in your browser. Powerful, performant & highly capable.
Hi dop2000,
I just found another event further down where I'd forgotten to include "pick nearest", it's only selecting one instance now.