Help me, I can't code

Hi @henry_tang and welcome!

Maybe the topic below can help you, because something similar is asked.

https://forum.playcanvas.com/t/make-camera-follow-object/