execute if entity @s[tag=!freecam] at @e[limit=1,sort=nearest,tag=my_char] run function bd:control/camera/cam_fixed
execute if entity @s[tag=freecam] at @e[limit=1,sort=nearest,tag=my_char] rotated as @s run function bd:control/camera/freecam