This Struct (Expression) — oopsk
Addon: oopsk · Category: Expression · Since: 1.0
Syntax
this [struct]Description
Usable only in dynamic field expressions, this refers to whatever struct is evaluating this field.
Examples
struct Vector2:
x: number
y: number
dynamic length: number = sqrt(this->x^2 + this-y^2)