for some reason i cant find a answer to this: How to read NodeID with mousepick?
i did try this: (both ofcourse in If MouseButton(#PB_MouseButton_Left) etc etc)
Code: Select all
Entity = MousePick(0, MouseX(), MouseY())
nodenr = NodeID(1)
Debug "nodenr: "+Str(nodenr)
Code: Select all
Entity = MousePick(0, MouseX(), MouseY())
nodenr2 = EntityParentNode(Entity)
Debug "nodenr2: "+Str(nodenr2)

