heres a genius idea i just thought up but am not genius enough to make
would it be possible to blueprint a copy/paste function to work in game?
say if i had a block of text written in a widget can the cursor be used to highlight it and copy it then paste it into another widget?
im talking realtime, not in editor, obviously.
im thinking of creating a portable storage system as a game mechanic but have literally no idea if its actually possible.
Why not try it and see? It does work indeed in UMG, you can copy and paste text fields. Works with keyboard shortcuts and the right click context menu.
for widgets teh built in path is editable text boxes, those support ctrl c ctrl v and right click copy paste out of the box so the portable note idea works between two boxes.
for a real copy button or moving text without manual select, read the source with gettext then send that string to the clipboard, and on paste read the clipboard string and settext on the target box. check has text first so you dont paste an empty string when the clipboard holds an image.