Is there possible to debug selected mesh in the console while I working with https://sandbox.babylonjs.com/?

I want to see the vertex points of the selected mesh. I am looking for global variables which possibly can provide something like that but unsuccessfully. I hope to find the command like this “BABYLON.Meshes.GetSelected”

On the sandbox you can BABYLON.Engine.LastCreatedScene.meshes :slight_smile:

1 Like

BABYLON.Engine.LastCreatedScene.meshes[1].getVertexBuffer(BABYLON.VertexBuffer.PositionKind).getData() thats exact what I did search

@sebavan, thanks, you’re always so clever!

1 Like