I think im special (code not working)

Godot Version

func change_cam():
if Input.is_action_pressed(“map”):


have looked everywhere for the answer and they all say this but this doesnt work idk is it to do with the names (image of names attached i think)
Godot script

here is a script that goes inside of a button. when the button is clicked it toggles between GreenCamera and RedCamera.

see the link below for information about @onready

extends Button
@onready var m_green_camera = $/root/Game/GreenCamera
@onready var m_red_camera = $/root/Game/RedCamera
func _pressed():
	if(true == m_green_camera.is_current()):