# SetVertexXY

Objects
Vertices
5.1 OC
bool
int index Vertex number
int xpos Desired X offset of the vertex.
int ypos Desired Y offset of the vertex.
Sets both X and Y position of a vertex.
Notice: with any vertex updated caused by stretching or rotation of the object (e.g. building or growth) the vertices will be reset to their original defined position unless a special vertex mode is selected.
GetCrew(0,0)->SetVertexXY(2, -5, -10);
Sets the third vertex of the first clonk of the first player to -5/-10.
SetVertex
AddVertex
RemoveVertex
flgr
2002-01