S&box Wiki

Vector3.SnapToGrid

Syntax

Vector3 SnapToGrid( float gridSize, bool sx = True, bool sy = True, bool sz = True )

Description

Snap To Grid along all 3 axes

Arguments

float gridSize
bool sx True
bool sy True
bool sz True

Returns