Patch in iframe doesn't update mouse position

Tags: #<Tag:0x00007f7041197798>

I have a patch that reacts to the mouse position: https://cables.gl/p/5fdc6cc720ceac6532e891c9

But when I include it in my website trough an iframe it get’s blocked by divs and the mouse position doesn’t get updated anymore.
I can’t set the div to pointer-events: none because then my html buttons don’t work anymore.

Can I force to keep the mouse position to keep getting updated?

Hi HanneMaes,

I’m not sure if this will help with your problem, but have you tried setting the Mouse OP dropdown to a different area?

image

2 Likes

yep, document should do it

1 Like

Thanks!

I tried it but I get a black screen with an error saying

cables - An error occured:
[INSTANCE_ERR] - Instancing Error Ops.Gl.ShaderEffects.PerlinAreaDeform_v4
Exception: CGL.ShaderModifier is not a constructor

This is the website: https://hannemaes.github.io/hannemaes/