PDA

View Full Version : How do I check if an object is being moved or rotated?



dogzer
04-24-2008, 12:06 PM
I want my lscript plugin to update only when I'm moving certain object. Currently I'm updating my plugin in the process function and it's giving me problems, I'd like to be able to update only when the object is actualy moving, and not all the time. Is there a function that checks if an object is currently being moved around?

Jarno
04-24-2008, 06:58 PM
It sounds like you are using a layout master plugin. In that case you could check command events to see if they match any of the item move or scale commands (Position, AddScale, etc.).

---JvdL---

dogzer
04-25-2008, 10:35 AM
Yep! i'm trying to make a layout plugin! What lscript function should I use to check if a position change event is ocurring on an object?