Pointer Move Events are not working when AdvancedDynamicTexture Material is attached to Mesh

Hey,

the Pointer Move Events for Meshes are not working when an Advanced Dynamic Tetxure is assigned to the Mesh. You can look this up in this PG Link by activating/deactivating the advancedDynamicTexture part of the code.

https://www.babylonjs-playground.com/#HRUNAK

Any ideas how to fix that, or is it a bug? Because ‘enablePointerMoveEvents’ should be related to the mesh only, independent of it’s material, right?

Best regards.

It actually works :slight_smile:
https://www.babylonjs-playground.com/#HRUNAK#1

But the adt is controlling the cursor and as there is no control that is pickable inside the texture it restores the cursor to default :wink:

Check this PG (open the console):
https://www.babylonjs-playground.com/#HRUNAK#1

1 Like

Thanks for the fast reply.

Okay i see it works. But any idea how to make the cursor change on adt too?

Yep:
https://www.babylonjs-playground.com/#HRUNAK#2

1 Like

Thanks very much! :slight_smile: