Skip to content

Channel:direction

since 1.6.0

Get / Set the direction of the channel (1 is normal / -1 reverse)

local direction = channel:direction([direction])

Parameters

Name Type Required Description
direction integer optional

Returns

direction (integer)