ContextActionResult

Overview

ContextActionResult is an Enum that is used when multiple event handlers are bound to a single action in ContextActionService.

This is used to determine whether to pass an event to remaining handlers after one hander processes it.

Items

Name
Value
Description

Sink

0

Consumes the input at the current handler and does not pass it to subsequent handlers. The same behavior as Sink also applies when a handler does not specify a return value.

Pass

1

After the current handler processes the input, the input continues to be passed to the next handler bound to the same action. Use this to implement chaining when multiple handlers are stacked and bound to the same action.

See also

ContextActionService

Last updated