OnGrab - ObjectReference

From the CreationKit Wiki
Revision as of 14:48, 3 June 2023 by 2.206.242.217 (talk) (Works for telekinesis too)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: ObjectReference Script

Event called when the object has been grabbed by the player (z-keyed, or grabbed via telekinesis).

Syntax[edit | edit source]

Event OnGrab()

Parameters[edit | edit source]

None.

Examples[edit | edit source]

Event OnGrab()
  Debug.Trace("Why you poking me again?")
endEvent

See Also[edit | edit source]