hl.dsp.cursor.move

hl.dsp.cursor.move(spec: table)

Create a dispatcher.

Signature

hl.dsp.cursor.move(spec: table): HL.Dispatcher

Parameters

xnumber

X delta.

ynumber

Y delta.

Returns

dispatcherHL.Dispatcher

Dispatcher object returned by this function.

Examples

hl.dispatch(hl.dsp.cursor.move({ x = 10, y = -10 }))

See also

HL.Dispatcher

Dispatcher object returned by this function.

hl.bind()

Bind a dispatcher to a key.

hl.dispatch()

Execute a dispatcher immediately.