Mod:Creation Kit/GetPlayerGrabbedRef - Game

Member of: Mod:Creation Kit/Game Script

Obtains the reference the player is currently grabbing.

Syntax
ObjectReference Function GetPlayerGrabbedRef native global

Parameters
None

Return Value
The ObjectReference that the player is currently grabbing.

Examples
ObjectReference curObject = Game.GetPlayerGrabbedRef
 * Obtain the object the player is currently grabbing