Edit

Share via


Interactable.SetGrab(Boolean) Method

Definition

Caution

Use HasGrab property instead

Change the grab state

public:
 virtual void SetGrab(bool grab);
[System.Obsolete("Use HasGrab property instead")]
public virtual void SetGrab (bool grab);
[<System.Obsolete("Use HasGrab property instead")>]
abstract member SetGrab : bool -> unit
override this.SetGrab : bool -> unit
Public Overridable Sub SetGrab (grab As Boolean)

Parameters

grab
Boolean
Attributes

Applies to