Get Class NameRoblox✎
The exact class, as a string. Comparing against it misses derived classes — Is A is the test for those.
Pending review
- needs the Roblox engine — its datatypes, its DataModel or its scheduler
- pure — no execution pins, wire it anywhere
- names its result — Result name in the Inspector is the local it binds, and a Declare Local reading that result makes a second one: see Variables and locals
Inputs
- Instance:Instancemust be wired
Outputs
- result:string
What it compiles to
luau
print(instance.ClassName)
Not reviewed yet