🦾 Weekly Topic: Most Challenging Coding Task or Concept

Omg. It definitely has to be the not-block side of coding. I took a Object Oriented Python class, but we never went into classes and namespaces or any of that and I am just so confused :sob:
Plus the fact that it’s all really Java (I think?) under the hood (I really have no idea what I’m talking about) is really confusing.

The problem I need answering is this: is it possible, in Makecode, to have a function that returns a list of the variables defined in a namespace? I want to be able to grab all the tile names attached to myTiles (myTiles.tile1…etc)
If it’s not possible, that’s fine, I just need to know :melting_face:

4 Likes