Button Scripts: How to determine args.currentEntities Type?

Is there a way for a button script to determine the Type of the entities in args.currentEntities?

It’s just .type

for (const entity of args.currentEntities) {
    getType = entity.type
1 Like

Ah right - actually, I see Type with an uppercase β€œT” when I dump the entity.