FORUMS > EON Authoring Tools Forum > Implement drag-and-drop in EON
RE: Implement drag-and-drop in EONtop^
Username: chenyhan
Posted: Mon 29 Mar, 2010 10:45 AM
3155 days ago
Location: Singapore

Is there anyone who knows how to implement drag-and-drop in EON Professional ? The implementation I am looking for is the ability to drag objects and drop it in a precised location.

Appreciate your help. Thanks.

RE: Implement drag-and-drop in EONtop^
Lloyd Churches
Username: eonman
Posted: Mon 5 Apr, 2010 8:49 AM
3148 days ago
Location: Australia

In EON Professional there is a prototype library called ObjectMovers. In there there is a prototype called MoveRatoteArrows3D which is good for moving objects. Regarding the 'precised location', well there is the possibility to set the 'SnapToGrid' field to true and the 'GridInterval' field to whatever you like. At least this would limit where objects end up. 

But I have a feeling you want a different implementation. The type where you tell a user to move the object into the correct position and when they release the drag movement then one of two things happen. Either the object is close enough to the correct position and it snaps into the precise correct position or its not close enough or anywhere near close enough and it snaps back to the previous position. This sort of behavoir would be possible in EON but there is no built in node or prototype for it. But if you make it, please share with us.