Arguments used with the ManipulateComponent.onManipulateStart event.

//@input Component.ManipulateComponent manipulateComponent

// Subscribe to the onManipulateStart event
var onManipulateStartEvent = script.manipulateComponent.onManipulateStart.add(function(manipulateStartEventArgs){
print("On Start!");
});

// Unsubscribe from the onManipulateStart event
script.manipulateComponent.onManipulateStart.remove(onManipulateStartEvent);
interface ManipulateStartEventArgs {
    getTypeName(): string;
    isOfType(type: string): boolean;
    isSame(other: ScriptObject): boolean;
}

Hierarchy (view full)

Methods

  • Returns true if the object matches or derives from the passed in type.

    Parameters

    • type: string

    Returns boolean

  • Returns true if this object is the same as other. Useful for checking if two references point to the same thing.

    Parameters

    Returns boolean