Forum

Sending Touch events into HTMLTexture

Given all the cool stuff you can do with WebGL/XR now, that directly handles multi-point interaction, it is a real hindrance that HTMLTexture only takes single-point mouse events as input. For instance, this WebXR particle demo works great on my touchscreen laptop with two fingers, but can only use one input in HTMLTexture.

Ideally the HTMLTexture node should have a touch input pin, but in the meanwhile, is there a way to use the Javascript pin to inject touch events? I am no webby. Thanks!

This one by microdee used to do just that.
As it is with beta these days, no idea if it still works - and you most probably won’t get any support on case of problems.