This may already be achievable but I'm not quite sure how to do it so pardon if this is the wrong place for this. I am using this for a background effect very similar to the space.add demo. However I have some other dom elements positioned over the canvas which prevents the effect from occurring when the mouse passes over them.
I would like to make the onMouseAction work with a window even instead of just the canvas elements mouse event.
Hopefully that makes sense and sorry again if this is the wrong place for this.
This may already be achievable but I'm not quite sure how to do it so pardon if this is the wrong place for this. I am using this for a background effect very similar to the space.add demo. However I have some other dom elements positioned over the canvas which prevents the effect from occurring when the mouse passes over them.
I would like to make the onMouseAction work with a window even instead of just the canvas elements mouse event.
Hopefully that makes sense and sorry again if this is the wrong place for this.