Alpha: this compiler is under active development and updates will break your projects. Not recommended for real use yet.
Skip to content

twine / OnTap

Variable: OnTap โ€‹

const OnTap: (item) => MethodDecorator

Defined in: twine/src/item/handlers.ts:32

Runs the method as the player when they tap F with item; it flips straight back. One per item.

Parameters โ€‹

item โ€‹

ItemClassRef

Returns โ€‹

MethodDecorator

Released under the MIT License ยท Credits
These docs were written with AI; the layout and every page have been reviewed by a human.