Collision detection

there is no simple answer to that. Basicaly, you have to convert a 2D mouse delta vector to a 3D one. In this PG, it’s done with the help of a ground plane and raycast.
Maybe you can use Gizmo for that Use Gizmos (eg. Drag arrow, Bounding box) - Babylon.js Documentation