PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

Dragger

Show deprecated

Dragger

Show deprecated

The Dragger object is a helper object used to create tools that can drag parts. It is expected (but not required) to be used with Mouse events.

Its implementation is primarily used in the RbxStamper library.

Properties

Functions

void

AxisRotate ( Axis axis )

Rotates the currently dragged part(s) by 90 degrees on the given axis.

void

MouseDown ( Instance mousePart , Vector3 pointOnMousePart , Objects parts )

Initializes a dragging action, specifying which parts to use when dragging.

void

MouseMove ( Ray mouseRay )

Tries to move the currently dragged part to the point where MouseRay hits another part.

void

MouseUp ( )

Stops the current dragging action (made by MouseDown)

Events