Actor spawns other actor on top - how set it to active?

HunnenkoenigHunnenkoenig Member Posts: 1,173
edited November -1 in Working with GS (Mac)
I have an icon and if I click it, it spawns the same actor on top of itself.

Now I want this spawned actor to drag and drop, but without having to reclick it. It should look like I would drag the icon itself while the copy of it stays on place.

I tried that the spawned actor has an attribute which makes it dragable immediately (it follows the mouse without press), but I can't switch it off. Now my icon can't be dropped, because not even timers work, when I try to switch the attribute off with them.

Strange.

Any advice?

Comments

  • HunnenkoenigHunnenkoenig Member Posts: 1,173
    I managed it, thanks :-P

    I just added a layer to the whole screen, which is only watching click and release and changes an attribute accordingly.

    The actor watches this attribute and if it is released, then it sets the drag attribute to off.

    Nobody cares, I know....
  • JamesZeppelinJamesZeppelin Member Posts: 1,927
    I cant speak for everyone but i care just a little
Sign In or Register to comment.