# onPointerObservable on Mesh after start animation

**URL:** <https://forum.babylonjs.com/t/onpointerobservable-on-mesh-after-start-animation/56558>\
**Category:** Questions\
**Tags:** mesh, observables\
**Created:** [February 13, 2025, 1:20pm UTC](https://forum.babylonjs.com/t/onpointerobservable-on-mesh-after-start-animation/56558 "2025-02-13T13:20:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kkasya](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/kkasya/32/44629_2.png) [@Kkasya](https://forum.babylonjs.com/u/Kkasya)\
**Post date:** [February 13, 2025, 1:20pm UTC](https://forum.babylonjs.com/t/onpointerobservable-on-mesh-after-start-animation/56558/1 "2025-02-13T13:20:46Z")

</div>

Hello!  
When I click on the card, I get pickedMesh (from onPointerObservable or by scene.pick) of my card (id === ‘card\_back’). But after animationGroups[0].start the card has another position and when I click on top of the card, I get pickedMesh of the ground.

How can I know that I click on the card?

> **[Babylon.js Playground](https://playground.babylonjs.com/?BabylonToolkit#CBGEQX%232096)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL and WebGPU 3D scenes

---

<div class="post-metadata">

**Author:** ![roland](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/roland/32/38940_2.png) [@roland](https://forum.babylonjs.com/u/roland)\
**Post date:** [February 13, 2025, 2:01pm UTC](https://forum.babylonjs.com/t/onpointerobservable-on-mesh-after-start-animation/56558/2 "2025-02-13T14:01:42Z")

</div>

Hey!

That’s because your mesh is still on the floor and it doesn’t change it’s shape:

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/e/4/e4b40a7643979468afc2253cdbb9d1ecc3145e44.jpeg)

You can use GPU picking which picks from the actual pixels on the screen:

> **[Babylon.js Playground](https://playground.babylonjs.com/#3PAXHX%232)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL and WebGPU 3D scenes

Docs:  
[https://doc.babylonjs.com/features/featuresDeepDive/mesh/interactions/picking\_collisions/#gpu-picking](https://doc.babylonjs.com/features/featuresDeepDive/mesh/interactions/picking_collisions/#gpu-picking)

---

<div class="post-metadata">

**Author:** ![Kkasya](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/kkasya/32/44629_2.png) [@Kkasya](https://forum.babylonjs.com/u/Kkasya)\
**Post date:** [February 13, 2025, 2:25pm UTC](https://forum.babylonjs.com/t/onpointerobservable-on-mesh-after-start-animation/56558/3 "2025-02-13T14:25:54Z")

</div>

I noticed, that I get cardMesh after starting animation, if I click on the initial positions.  
Is there a solution to fix this? Get real position or set real position for pickInfo…

---

<div class="post-metadata">

**Author:** ![roland](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/roland/32/38940_2.png) [@roland](https://forum.babylonjs.com/u/roland)\
**Post date:** [February 13, 2025, 2:32pm UTC](https://forum.babylonjs.com/t/onpointerobservable-on-mesh-after-start-animation/56558/4 "2025-02-13T14:32:32Z")

</div>

I am afraid I don’t understand what’s the question.

I posted a solution with a playground, didn”t it help you?

---

<div class="post-metadata">

**Author:** ![Kkasya](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/kkasya/32/44629_2.png) [@Kkasya](https://forum.babylonjs.com/u/Kkasya)\
**Post date:** [February 13, 2025, 3:10pm UTC](https://forum.babylonjs.com/t/onpointerobservable-on-mesh-after-start-animation/56558/5 "2025-02-13T15:10:07Z")

</div>

sorry! I didn`t check clearly. It is really that I wanted.

---

<div class="post-metadata">

**Author:** ![roland](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/roland/32/38940_2.png) [@roland](https://forum.babylonjs.com/u/roland)\
**Post date:** [February 13, 2025, 3:39pm UTC](https://forum.babylonjs.com/t/onpointerobservable-on-mesh-after-start-animation/56558/6 "2025-02-13T15:39:55Z")

</div>

I’m glad iit solved your problem. Would you please mark it as a siolution? Thanks!
