GetPlayerGrabbedRef - Game

From the CreationKit Wiki
Revision as of 15:27, 18 October 2011 by imported>Rhavlovick (1 revision: Clobber re-import by Henning)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: 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

; Obtain the object the player is currently grabbing
ObjectReference curObject = Game.GetPlayerGrabbedRef()

See Also