Class Entity?
Blitz3D Forums/Blitz3D Programming/Class Entity?| 
 | ||
| How can differences different types of entities exist ?, all have properties, position x, and z, for example but some are not applied materials such as lights. What I want is a way to identify what type of entity is a window for setting the respective properties. For example a cube, you can paint a color, but light not. Any suggestions?   | 
| 
 | ||
| use the EntityClass(entity) function. it will return a string which will be one of : "Pivot", "Camera", "Light", "Mesh", "Terrain", "Sprite", "Plane", "Mirror", or "Listenner" (I don't remember if it takes one or two "n") So you can identify the entity "type" | 
| 
 | ||
| @Bobysait Thanks You. |