execute if score .path camera matches 1 run scoreboard players set .path_max camera 80
execute if score .path camera matches 1 run summon item_display -297 119 -577 {view_range:0f,teleport_duration:2,interpolation_duration:30,Tags:["camera"],transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[0f,0f,0f]},item:{id:"minecraft:oak_button",count:1},Rotation:[90f,5f]}