Something like typecasting,

BlitzMax Forums/BlitzMax Programming/Something like typecasting,

TypeToCastTo(variable)

For example...
Downcast:
Object(myEntity)

Upcast:
TEntity(myObject)