MATEDITORSTATE (System Variable)

Indicates whether the Materials Editor is open or closed.

(Read-only)
Type:Integer
Saved in:User-settings
Initial value:0

0

Materials Editor is closed.

1

Materials Editor is open.