Click or drag to resize

InputIsMouseButtonPressed Method

Returns true if you are pressing the mouse button specified with ButtonList.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static bool IsMouseButtonPressed(
	int button
)

Parameters

button
Type: SystemInt32

[Missing <param name="button"/> documentation for "M:Godot.Input.IsMouseButtonPressed(System.Int32)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Godot.Input.IsMouseButtonPressed(System.Int32)"]

See Also