Click or drag to resize

MathfMin Method (Int32, Int32)

Returns the minimum of two values.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static int Min(
	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 lower.
See Also