ScriptInterface:SnapToGrid(v)

Version added: before 9.5

Takes a vector position and "snaps" it to the nearest grid intersection

ArgumentTypeDescriptionDefaultVer
vVector2The vector to "snap"< 9.5

Return type : none

Takes a vector position and "snaps" it to the nearest grid intersection.
String "SnapToGrid" is found in the following scripts:

SS - Multi Layer Transform Points (by simplsam)

HS Shape (by hayasidist)

Spirograph (by hayasidist)

MR Curve Tool (by eugenebabich)

Curvature (by Lukas)

See all...