I want to understand that the selected object is selected

There are two objects in my playground and I want the object to be specific when I click and select the object. I am looking for more aesthetic and alternative solutions without using edge boundaries.

you can use highlight layers.

You can use boundingBox true when the mesh is select

// Change the color of the boundingBox
const boundingBoxRenderer = scene.getBoundingBoxRenderer();
boundingBoxRenderer.backColor = new BABYLON.Color3(0.87, 0.87, 0.15); // Yellow
boundingBoxRenderer.frontColor = new BABYLON.Color3(0.87, 0.87, 0.15); // Yellow
boundingBoxRenderer.showBackLines = false;

//Displays the boundingBox
mesh.showBoundingBox = true;