27 December 2014 20:20
where do I find Scenes Module?
if (obj && obj.name == "Cube")
var m_scenes = require("scenes"); if (obj && m_scenes.get_object_name(obj) == "Cube"))
Preference is now for a slight glow to all clickable objects that is always on so mobile users know there is something to click.For persistent glow you need something like this:
var m_scenes = require("scenes"); var myobj = m_scenes.get_object_by_name("How your object is named in Blender"); m_scenes.apply_glow_anim(myobj, 1, 1, 0);
FYI: hover glow not working in IE 11Yeah, being one of "fancy features" that require postprocessing, glow effect is not available in the low quality mode.