Aprender
Clase de motor
UIDragDetector

*Este contenido se traduce usando la IA (Beta) y puede contener errores. Para ver esta página en inglés, haz clic en aquí.



Referencia API
Propiedades
ActivatedCursorIcon
Leer paralelo
Capacidades: UI
UIDragDetector.ActivatedCursorIcon:ContentId

ActivatedCursorIconContent
Leer paralelo
Capacidades: UI
UIDragDetector.ActivatedCursorIconContent:Content

BoundingBehavior
Leer paralelo
Capacidades: UI
UIDragDetector.BoundingBehavior:Enum.UIDragDetectorBoundingBehavior

BoundingUI
Leer paralelo
Capacidades: UI
UIDragDetector.BoundingUI:GuiBase2d

CursorIcon
Leer paralelo
Capacidades: UI
UIDragDetector.CursorIcon:ContentId

CursorIconContent
Leer paralelo
Capacidades: UI
UIDragDetector.CursorIconContent:Content

DragAxis
Leer paralelo
Capacidades: UI
UIDragDetector.DragAxis:Vector2

DragRelativity
Leer paralelo
Capacidades: UI
UIDragDetector.DragRelativity:Enum.UIDragDetectorDragRelativity

DragRotation
Leer paralelo
Capacidades: UI
UIDragDetector.DragRotation:number

DragSpace
Leer paralelo
Capacidades: UI
UIDragDetector.DragSpace:Enum.UIDragDetectorDragSpace

DragStyle
Leer paralelo
Capacidades: UI
UIDragDetector.DragStyle:Enum.UIDragDetectorDragStyle

DragUDim2
Leer paralelo
Capacidades: UI
UIDragDetector.DragUDim2:UDim2

Enabled
Leer paralelo
Capacidades: UI
UIDragDetector.Enabled:boolean

MaxDragAngle
Leer paralelo
Capacidades: UI
UIDragDetector.MaxDragAngle:number

MaxDragTranslation
Leer paralelo
Capacidades: UI
UIDragDetector.MaxDragTranslation:UDim2

MinDragAngle
Leer paralelo
Capacidades: UI
UIDragDetector.MinDragAngle:number

MinDragTranslation
Leer paralelo
Capacidades: UI
UIDragDetector.MinDragTranslation:UDim2

ReferenceUIInstance
Leer paralelo
Capacidades: UI
UIDragDetector.ReferenceUIInstance:GuiObject

ResponseStyle
Leer paralelo
Capacidades: UI
UIDragDetector.ResponseStyle:Enum.UIDragDetectorResponseStyle

SelectionModeDragSpeed
Leer paralelo
Capacidades: UI
UIDragDetector.SelectionModeDragSpeed:UDim2

SelectionModeRotateSpeed
Leer paralelo
Capacidades: UI
UIDragDetector.SelectionModeRotateSpeed:number

UIDragSpeedAxisMapping
Leer paralelo
Capacidades: UI
UIDragDetector.UIDragSpeedAxisMapping:Enum.UIDragSpeedAxisMapping

Métodos
AddConstraintFunction
Capacidades: UI
UIDragDetector:AddConstraintFunction(
priority:number, function:function
Parámetros
priority:number
function:function

GetReferencePosition
Capacidades: UI
UIDragDetector:GetReferencePosition():UDim2
Devuelve

GetReferenceRotation
Capacidades: UI
UIDragDetector:GetReferenceRotation():number
Devuelve

SetDragStyleFunction
Capacidades: UI
UIDragDetector:SetDragStyleFunction(function:function):()
Parámetros
function:function
Devuelve
()

Eventos
DragContinue
Capacidades: UI
UIDragDetector.DragContinue(inputPosition:Vector2):RBXScriptSignal
Parámetros
inputPosition:Vector2

DragEnd
Capacidades: UI
UIDragDetector.DragEnd(inputPosition:Vector2):RBXScriptSignal
Parámetros
inputPosition:Vector2

DragStart
Capacidades: UI
UIDragDetector.DragStart(inputPosition:Vector2):RBXScriptSignal
Parámetros
inputPosition:Vector2

©2026 Roblox Corporation. Roblox, el logotipo de Roblox y "Powering Imagination" son algunas de nuestras marcas registradas y no registradas en los Estados Unidos y otros países.