touch

From Wiki of ZZT
Revision as of 18:24, 8 February 2021 by Rbts (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

:touch is a built-in ZZT-OOP label that triggers when the player touches (bumps into) an object.

Notes

  • Object-to-object collisions do not emit :touch events.
  • Locked objects do not emit :touch events, and therefore won't react to the player touching them.