What is self and how can I use it?

For what I’ve seen is that self takes the first argument no matter what, so if you were to do someObject.Method(self) and pass “amogus” as self, then when you’re referencing self it’d be the string “amogus”

i.e print(self) → “amogus”

though you can test this on your own.

1 Like

The first argument will always be self when you call a method using a object:method()

1 Like

I talk about self in this video a bit

1 Like