use windoe as view port godot code example Example: node to viewport godot if node.get_class() == "Node":