Moving only the top actor
Hi All,
I have a problem with getting actors to follow the mouse:
When an actor has: mouse.position:inside and touch:pressed I am constraining the actor on the screen to follow my mouse. This works ok, and it follows when I touch it and stops when I release.
However, I have several of these on screen, and when they are overlapping and I select the one which looks like it is on top it:
* selects both
* puts both on the same X/Y which makes it look like 1 has vanished (even though it is just directly below
What I want to know is how I can have it so that if I press on the top one it only selects that one and doesn't constrain the one below??
I have a problem with getting actors to follow the mouse:
When an actor has: mouse.position:inside and touch:pressed I am constraining the actor on the screen to follow my mouse. This works ok, and it follows when I touch it and stops when I release.
However, I have several of these on screen, and when they are overlapping and I select the one which looks like it is on top it:
* selects both
* puts both on the same X/Y which makes it look like 1 has vanished (even though it is just directly below
What I want to know is how I can have it so that if I press on the top one it only selects that one and doesn't constrain the one below??
Comments
@};- MH