This event is triggered when manipulation on the object ends.
// Creates events for Manipulate Start and Manipulate End eventsvar manipulating = true;function manipStart(eventData){ manipulating = true;}var manipStartEvent = script.createEvent("ManipulateStartEvent");manipStartEvent.bind(manipStart);function manipEnd(eventData){ manipulating = false;}var manipEndEvent = script.createEvent("ManipulateEndEvent");manipEndEvent.bind(manipEnd); Copy
// Creates events for Manipulate Start and Manipulate End eventsvar manipulating = true;function manipStart(eventData){ manipulating = true;}var manipStartEvent = script.createEvent("ManipulateStartEvent");manipStartEvent.bind(manipStart);function manipEnd(eventData){ manipulating = false;}var manipEndEvent = script.createEvent("ManipulateEndEvent");manipEndEvent.bind(manipEnd);
If true, the event is able to trigger. If false, the event will not trigger.
Binds a callback function to this event.
Returns the SceneObject this Event is associated with.
Returns the typename of the SceneEvent.
Returns true if the object matches or derives from the passed in type.
Returns true if this object is the same as other. Useful for checking if two references point to the same thing.
other
This event is triggered when manipulation on the object ends.
Example