How do I convert a string to a variable (or argument idk)

How do I convert a string to a variable or a argument, i don’t know how to call it but basically i want to convert this string “Player.X()” to a variable (or argument, I really don’t know how to call it).

You can save the X position of Player to a variable by using actions in your events sheet. Add a new action, then choose your Player object on the left column. In the right column, find and choose the ‘Set the value of a variable’ and enter ‘Player.X()’ as the value.

Wow, it worked now, thanks for that