SplitScript reference / Language / self
self
keyword
self
Refers to the current method receiver.
A function declared as fn Type.name receives an implicit, precisely typed self value.
Examples
Use the method receiver
fn Position.isOrigin() {
return self.x == 0.0 && self.y == 0.0
}