Mod:Creation Kit/OnWorkshopObjectGrabbed - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

Event received when the player grabs an existing object reference for edit while in Workshop mode. The event is sent to both the Workshop reference and the reference being grabbed.

Syntax
Event OnWorkshopObjectGrabbed(ObjectReference akReference)

Parameters

 * akActionRef: If the script is on a Workshop reference, the ObjectReference that was just placed. If the script is on the placed reference, this is the Workshop reference.

Examples
Event OnWorkshopObjectGrabbed(ObjectReference akReference) Debug.Trace("The player just grabbed " + akReference + " in Workshop!") EndEvent