Change value of undeclared variable to a structure

Im gonna need to do this a bunch of times, so it will be nessasary to find a simple way to do so.
“b\ps how do i copy code across projects”

As for copy events you can literally right click them and chose copy then right click somewhere and paste

Or just left click CTRL+C then left click somewhere and CTRL+V

As for your question i am not sure you can with current variable system
For sure possible in arrays