How `bout this playground?
I inserted some comments. I hope I understand what you were looking-for.
Later, if you want to use a BabylonJS GUI button down there, that should be successful, too. You would probably put the AdvancedTexture (the basis of BJS GUI) on a plane… right where the sphere is, now.
Not sure about the background color on the plane. We might need to experiment with that.
If you need help with that, just holler. I hope I was helpful.
ooops I just realized that I haven’t done anything about .position, yet. Down-cursor the camera, and we leave the sphere behind. Oh no! I’ll work on another playground version, or maybe you/another can handle it. I assume you want to keep the camera and button… same distance apart, vertically. And, you don’t want the button to go under-ground, either. That’s going to be a challenge… if/when the camera moves-to 1 millimeter above ground. hmm.
I have an idea, though. By using a full-screen AdvancedTexture (BJS GUI)… and making a button that has a very large button.top… so it is off-screen on screen bottom, and then making button.top (sort of like marginTop in CSS)… REDUCE in value… as camera tilts-down, that might work. Weird. Maybe I’ll try it.