I am just curious if a struct needs a semi-colon ";" after the last curly bracket? The documentation example code uses it sometimes but not others and I was just wondering if one way is more correct?
GML:
// this
velocity = {
x : 0,
y : 0
};
// or this?
velocity = {
x : 0,
y : 0
}