Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

ClusterInput.GetButton

public static bool GetButton(string name);

Parameters

nameName of input to poll.

Description

Returns the binary value of a button.

True for pressed, false otherwise.

Did you find this page useful? Please give it a rating: