Reference API Roblox

Engine API

Website

Related

Reference API Roblox

DragDetector

Member index 41

HistoryMember
580ActivatedCursorIcon: Content
576ApplyAtCenterOfMass: bool
576Axis: Vector3
576DragFrame: CFrame
576DragStyle: DragDetectorDragStyle
576Enabled: bool
576GamepadModeSwitchKeyCode: KeyCode
576KeyboardModeSwitchKeyCode: KeyCode
576MaxDragAngle: float
576MaxDragTranslation: Vector3
576MaxForce: float
576MaxTorque: float
576MinDragAngle: float
576MinDragTranslation: Vector3
576Orientation: Vector3
611PermissionPolicy: DragDetectorPermissionPolicy
576ReferenceInstance: Instance
576ResponseStyle: DragDetectorResponseStyle
576Responsiveness: float
576RunLocally: bool
576SecondaryAxis: Vector3
576TrackballRadialPullFactor: float
576TrackballRollFactor: float
576VRSwitchKeyCode: KeyCode
576WorldAxis: Vector3
576WorldSecondaryAxis: Vector3
583AddConstraintFunction(priority: int, function: Function): RBXScriptConnection
576GetReferenceFrame(): CFrame
576RestartDrag(): null
576SetDragStyleFunction(function: Function): null
611SetPermissionPolicyFunction(function: Function): null
576DragContinue(playerWhoDragged: Player, cursorRay: Ray, viewFrame: CFrame, vrInputFrame: OptionalCoordinateFrame, isModeSwitchKeyDown: bool)
576DragEnd(playerWhoDragged: Player)
576DragStart(playerWhoDragged: Player, cursorRay: Ray, viewFrame: CFrame, hitFrame: CFrame, clickedPart: BasePart, vrInputFrame: OptionalCoordinateFrame, isModeSwitchKeyDown: bool)
inherited from ClickDetector
486CursorIcon: Content
553MaxActivationDistance: float
483MouseClick(playerWhoClicked: Player)
483MouseHoverEnter(playerWhoHovered: Player)
483MouseHoverLeave(playerWhoHovered: Player)
483RightMouseClick(playerWhoClicked: Player)
553mouseClick(playerWhoClicked: Player)
inherited from Instance
553Archivable: bool
635Capabilities: SecurityCapabilities
553ClassName: string
553Name: string
553Parent: Instance
635Sandboxed: bool
616UniqueId: UniqueId
553className: string
576AddTag(tag: string): null
573ClearAllChildren(): null
462Clone(): Instance
573Destroy(): null
486FindFirstAncestor(name: string): Instance
486FindFirstAncestorOfClass(className: string): Instance
486FindFirstAncestorWhichIsA(className: string): Instance
486FindFirstChild(name: string, recursive: bool = false): Instance
486FindFirstChildOfClass(className: string): Instance
486FindFirstChildWhichIsA(className: string, recursive: bool = false): Instance
486FindFirstDescendant(name: string): Instance
563GetActor(): Actor
486GetAttribute(attribute: string): Variant
462GetAttributeChangedSignal(attribute: string): RBXScriptSignal
631GetAttributes(): Dictionary
486GetChildren(): Objects
462GetDebugId(scopeLength: int = 4): string
486GetDescendants(): Array
486GetFullName(): string
462GetPropertyChangedSignal(property: string): RBXScriptSignal
576GetTags(): Array
576HasTag(tag: string): bool
486IsA(className: string): bool
486IsAncestorOf(descendant: Instance): bool
486IsDescendantOf(ancestor: Instance): bool
580IsPropertyModified(name: string): bool
573Remove(): null
576RemoveTag(tag: string): null
580ResetPropertyToDefault(name: string): null
573SetAttribute(attribute: string, value: Variant): null
462WaitForChild(childName: string, timeOut: double): Instance
553children(): Objects
553clone(): Instance
573destroy(): null
553findFirstChild(name: string, recursive: bool = false): Instance
553getChildren(): Objects
462isA(className: string): bool
553isDescendantOf(ancestor: Instance): bool
573remove(): null
462AncestryChanged(child: Instance, parent: Instance)
462AttributeChanged(attribute: string)
462Changed(property: string)
462ChildAdded(child: Instance)
462ChildRemoved(child: Instance)
462DescendantAdded(descendant: Instance)
462DescendantRemoving(descendant: Instance)
500Destroying()
553childAdded(child: Instance)

Removed member index 1

HistoryMember
583RemoveConstraintFunction(name: string): null

History 47

Members 41

ActivatedCursorIcon

TypeDefault
Content

History 1

AddConstraintFunction

Parameters (2)
priorityint
functionFunction
Returns (1)
RBXScriptConnection

History 3

ApplyAtCenterOfMass

TypeDefault
boolfalse

History 1

Axis

TypeDefault
Vector30, 1, 0
This property is not replicated. Its interface does not cross the network boundary.

History 1

Tags: [NotReplicated]

DragContinue

Parameters (5)
playerWhoDraggedPlayer
cursorRayRay
viewFrameCFrame
vrInputFrameOptionalCoordinateFrame
isModeSwitchKeyDownbool

History 1

DragEnd

Parameters (1)
playerWhoDraggedPlayer

History 1

DragFrame

TypeDefault
CFrame

History 1

DragStart

Parameters (7)
playerWhoDraggedPlayer
cursorRayRay
viewFrameCFrame
hitFrameCFrame
clickedPartBasePart
vrInputFrameOptionalCoordinateFrame
isModeSwitchKeyDownbool

History 1

DragStyle

TypeDefault
DragDetectorDragStyleTranslatePlane

History 1

Enabled

TypeDefault
booltrue

History 1

GamepadModeSwitchKeyCode

TypeDefault
KeyCodeButtonR1

History 1

GetReferenceFrame

Parameters (0)
No parameters.
Returns (1)
CFrame

History 1

KeyboardModeSwitchKeyCode

TypeDefault
KeyCodeLeftControl

History 1

MaxDragAngle

TypeDefault
float0

History 1

MaxDragTranslation

TypeDefault
Vector30, 0, 0

History 1

MaxForce

TypeDefault
float10000000

History 1

MaxTorque

TypeDefault
float10000

History 1

MinDragAngle

TypeDefault
float0

History 1

MinDragTranslation

TypeDefault
Vector30, 0, 0

History 1

Orientation

TypeDefault
Vector3-0, 180, 90

History 1

PermissionPolicy

TypeDefault
DragDetectorPermissionPolicyEverybody

History 1

ReferenceInstance

TypeDefault
Instance

History 1

ResponseStyle

TypeDefault
DragDetectorResponseStylePhysical

History 1

Responsiveness

TypeDefault
float10

History 1

RestartDrag

Parameters (0)
No parameters.
Returns (1)
null

History 1

RunLocally

TypeDefault
boolfalse

History 1

SecondaryAxis

TypeDefault
Vector31, 0, 0
This property is not replicated. Its interface does not cross the network boundary.

History 1

Tags: [NotReplicated]

SetDragStyleFunction

Parameters (1)
functionFunction
Returns (1)
null

History 1

SetPermissionPolicyFunction

Parameters (1)
functionFunction
Returns (1)
null

History 1

TrackballRadialPullFactor

TypeDefault
float1

History 1

TrackballRollFactor

TypeDefault
float1

History 1

VRSwitchKeyCode

TypeDefault
KeyCodeButtonL2

History 1

WorldAxis

TypeDefault
Vector30, 1, 0
This property is not replicated. Its interface does not cross the network boundary.

History 1

Tags: [NotReplicated]

WorldSecondaryAxis

TypeDefault
Vector31, 0, 0
This property is not replicated. Its interface does not cross the network boundary.

History 1

Tags: [NotReplicated]

Removed members 1

RemoveConstraintFunction

Parameters (1)
namestring
Returns (1)
null

History 2

Settings