Search the docs

Find a guide, global, type or member

TypeEmber

EventOptions

Options for events.on. Handlers for one event run in ascending priority (default 0); ties run in the order they were connected. A precise handler also sees every playerMove, not just the ones that cross into another block. events.on also takes true or "precise" as shorthand for { precise = true }.

Fields

eventOptions.precise: boolean?#
eventOptions.priority: number?#

lower runs first; default 0