Kinemium Docs

UIDragDetector

A drag detection component for UI elements.

Properties

PropertyTypeDefault
Namestring"UIDragDetector"
isDraggingbooleanfalse
RespectScreenBoundsbooleantrue
dragOffsetVector3Vector3.new(0, 0, 0)

Functions


makeRect

Arguments

x, y, width, height

Returns

This function returns nothing.

mouseInRect

Arguments

rect

Returns

This function returns nothing.

getParentMetrics

Arguments

parent, window

Returns

This function returns nothing.

propTable.render

Arguments

lib, object, dt, structs, renderer

Returns

This function returns nothing.

API

instance:makeRect(x, y, width, height)
instance:mouseInRect(rect)
instance:getParentMetrics(parent, window)
instance:render(lib, object, dt, structs, renderer)

On this page