touch

From Wiki of ZZT
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.