Click or drag to resize

ControllerGetButtonDownById Method

Gets the button just pressed state of the hardware button at the specified element identifier id. This will only return TRUE only on the first frame the button is pressed This does not take into acount any controller mapping or Actions -- this is the unmapped physical button value only. Use the Player class to get button values mapped to Actions.

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: (
public virtual bool GetButtonDownById(
	int elementIdentifierId


Type: SystemInt32
Element identifier id

Return Value

Type: Boolean
Button just pressed state
See Also