Roblox API Reference

DragDetector On DevHub

Summary

Inherits (2)

Member index (32)

Type Member History
Content ActivatedCursorIcon 580
bool ApplyAtCenterOfMass
Vector3 Axis
CFrame DragFrame
DragDetectorDragStyle DragStyle
bool Enabled
KeyCode GamepadModeSwitchKeyCode
KeyCode KeyboardModeSwitchKeyCode
float MaxDragAngle
Vector3 MaxDragTranslation
float MaxForce
float MaxTorque
float MinDragAngle
Vector3 MinDragTranslation
Vector3 Orientation
Instance ReferenceInstance
DragDetectorResponseStyle ResponseStyle
float Responsiveness
bool RunLocally
Vector3 SecondaryAxis
float TrackballRadialPullFactor
float TrackballRollFactor
KeyCode VRSwitchKeyCode
Vector3 WorldAxis
Vector3 WorldSecondaryAxis
RBXScriptConnection AddConstraintFunction (int priority, Function function) 583 583
CFrame GetReferenceFrame ()
null RestartDrag ()
null SetDragStyleFunction (Function function)
DragContinue (Player playerWhoDragged, Ray cursorRay, CFrame viewFrame, OptionalCoordinateFrame vrInputFrame, bool isModeSwitchKeyDown)
DragEnd (Player playerWhoDragged)
DragStart (Player playerWhoDragged, Ray cursorRay, CFrame viewFrame, CFrame hitFrame, BasePart clickedPart, OptionalCoordinateFrame vrInputFrame, bool isModeSwitchKeyDown)
7 members inherited from ClickDetector
57 members inherited from Instance

Removed member index (1)

Type Member History
null RemoveConstraintFunction (string name) 583

History

Members

ActivatedCursorIcon On DevHub

History

AddConstraintFunction On DevHub

Name Type Default
priority int none
function Function none

History

ApplyAtCenterOfMass On DevHub

Axis On DevHub

This item is not replicated. Its interface does not cross the network boundary.

Tags: [NotReplicated]

DragContinue On DevHub

Name Type Default
playerWhoDragged Player none
cursorRay Ray none
viewFrame CFrame none
vrInputFrame OptionalCoordinateFrame none
isModeSwitchKeyDown bool none

DragEnd On DevHub

Name Type Default
playerWhoDragged Player none

DragFrame On DevHub

DragStart On DevHub

Name Type Default
playerWhoDragged Player none
cursorRay Ray none
viewFrame CFrame none
hitFrame CFrame none
clickedPart BasePart none
vrInputFrame OptionalCoordinateFrame none
isModeSwitchKeyDown bool none

DragStyle On DevHub

Enabled On DevHub

GamepadModeSwitchKeyCode On DevHub

GetReferenceFrame On DevHub

Name Type Default
No parameters.

KeyboardModeSwitchKeyCode On DevHub

MaxDragAngle On DevHub

MaxDragTranslation On DevHub

MaxForce On DevHub

MaxTorque On DevHub

MinDragAngle On DevHub

MinDragTranslation On DevHub

Orientation On DevHub

ReferenceInstance On DevHub

ResponseStyle On DevHub

Responsiveness On DevHub

RestartDrag On DevHub

Name Type Default
No parameters.

RunLocally On DevHub

SecondaryAxis On DevHub

This item is not replicated. Its interface does not cross the network boundary.

Tags: [NotReplicated]

SetDragStyleFunction On DevHub

Name Type Default
function Function none

TrackballRadialPullFactor On DevHub

TrackballRollFactor On DevHub

VRSwitchKeyCode On DevHub

WorldAxis On DevHub

This item is not replicated. Its interface does not cross the network boundary.

Tags: [NotReplicated]

WorldSecondaryAxis On DevHub

This item is not replicated. Its interface does not cross the network boundary.

Tags: [NotReplicated]

Removed members

RemoveConstraintFunction

Name Type Default
name string none

History

Relevant classes (3)

Relevant enums (3)