Change enviroment or texture in Python

I want to ask if anyone know a way to change texture of cuboid when is created. And if we can change enviroment?

Environment:
There is currently no such method in Python and TypeScript API.
It’s not even in block coding.

Cuboid:
You can. Check this one I made.
When press β€˜1’ key, color changes into red
When press β€˜2’ key color changes into one of random colors.

2 Likes

Oh, there is no method for changing texture.

1 Like