GetPlayerGrabbedRef - Game

From Creation Kit
Jump to: navigation, 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