What happened to OS.get_clipboard()?

Godot Version

4.2

Question

searching how to copy/paste with Godot for a calculator, both

and

seem to be no help to tell what happened to it. I tried searching in help F1, on the docs.godotengine, and in the forum, as well on a search engine, but topics seem too old, as the engine says OS.get_clipboard() doesn’t exist, what should I use instead?

DisplayServer.clipboard_get() is probably what you are looking for.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.