Click or drag to resize

MathfMax Method (Int32, Int32)

Returns the maximum of two values.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static int Max(
	int a,
	int b
)

Parameters

a
Type: SystemInt32
One of the values.
b
Type: SystemInt32
The other value.

Return Value

Type: Int32
Whichever of the two values is higher.
See Also