Defold native extension to access the clipboard.
The extension currently supports OSX, Windows, Linux (contributed by AsakuraMizu), iOS and Android.
The extension will not support HTML5 as clipboard access is restricted in browsers due to security reasons.
You can use the Clipboard extension in your own project by adding this project as a Defold library dependency. Open your game.project file and in the dependencies field under project add:
https://github.com/britzl/defold-clipboard/archive/master.zip
Or point to the ZIP file of a specific release.
Copy text to the clipboard.
PARAMETERS
text
(string)
Get text from the clipboard.
RETURNS
text
(string)