Forum

"Render Above All" activation via JavaScrpit

20 April 2017 17:11
Hello guys! This could be a simple question but here I go:
Is there any way to activate or deactivate the feature "Render Above All" trough coding? I couldn't figure it out looking the documentation and spent some time trying already.



Thanks! Hope you guys can help me.
20 April 2017 18:04
Hello and welcome to the forum.
There is no way to change this option. You can implement the following workaround: create two objects, enable the "hide" for one of them and change this property for the objects when you want to activate or deactivate the "Render Above All"
21 April 2017 04:19
Your workaround worked just fine for me!! Yey!

Thanks Roman and Blend4Web crew!!
 
Please register or log in to leave a reply.