Skip to content
Roblox API Reference

Enum.UIDragDetectorDragStyle

Used with UIDragDetector as the paradigm to generate proposed motion, given a stream of input position vectors.
Items
4
Uses
1

Items4

  • Enum.UIDragDetectorDragStyle.TranslatePlane = 0
    2D motion in the plane of the LayerCollector.
  • Enum.UIDragDetectorDragStyle.TranslateLine = 1
    1D motion along the detector's DragAxis.
  • Enum.UIDragDetectorDragStyle.Rotate = 2
    By default, rotation about the absolute center position of the detector's parent GuiObject. If ReferenceUIInstance is set, rotation happens about that instance's absolute center position.
  • Enum.UIDragDetectorDragStyle.Scriptable = 3
    Calculates desired motion via a custom function provided through SetDragStyleFunction().

Used by properties1