Reference API Roblox

Engine API

Website

Related

Reference API Roblox

UIDragDetectorDragStyle

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

Items 4

HistoryNameValueDescription
625TranslatePlane0

2D motion in the plane of the LayerCollector.

625TranslateLine1

1D motion along the detector's DragAxis.

625Rotate2

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.

625Scriptable3

Calculates desired motion via a custom function provided through SetDragStyleFunction().

Description

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

History 5

Settings