API Reference › Fx › Fx.clear
method

Fx.clear

Fx.clear()

Removes every effect in flight — call it when the world changes under them (a room change, a new run).

Example

# doc-check: skip — illustrative
function clear_room() -> void {
  for (p) in query [Position] { despawn self() }
  Fx.clear()
}
← All symbols