Skip to main content
←API Reference ←NianticSpatial.NSDK.AR ←Input

GetButtonDown

Returns true during the frame the user pressed down the virtual button identified by buttonName.

Declaration​

public static bool GetButtonDown(string buttonName)

Summary​

Returns true during the frame the user pressed down the virtual button identified by buttonName.

Parameters​

NameTypeSummary
buttonNamestring
-