GetPlayerGrabbedRef - Game

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: Game Script

Obtains the reference the player is currently grabbing.

Syntax[edit | edit source]

ObjectReference Function GetPlayerGrabbedRef() native global

Parameters[edit | edit source]

None

Return Value[edit | edit source]

The ObjectReference that the player is currently grabbing.

Examples[edit | edit source]

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

See Also[edit | edit source]