Scripting Fps camera

https://playcanvas.com/editor/scene/1792287

Hi Everyone,
I want to change the fps control from one camera to another on a button click.
Presently I am able to change the camera, but I am not able to transfer the fps controls. please help

Hi @Abhisek_Samal and welcome,

Your project is private, so not accessible here. If you are unable to make it public, try sharing a simpler repro project that showcases your issue.

Sorry, I forgot to make the project public, but now the issue is fixed. Thank you. Can you help me with this ? :point_down::point_down::point_down::point_down:
https://playcanvas.com/editor/project/1115877

here i want when the stethoscope hand hovered on the sprite button that time i want log “hovered”