Applying Decal mesh through Raycasting only happens on pointer move

Hi, I am trying to drag an html image into the babylonjs 3D scene and while dropping that image on to a GLB model in Babylonjs scene that image will be transformed to a decal and will get applied on to the model.
The problem I am facing is that while dropping the image raycasting is not happening, raycasting gets activated only when the pointer moves after dropping the image. I want it to happen on dropping event. Is there any fixes

You can call scene.pick yourself to get the same result than a ray cast.

1 Like

thank you for the reply, still the decal wont be applied to the GLB model without a pointer move event occurence

Would you be able to provide a repro in the Playground? Applying the decal should not depend on using a pointer move event.