Hi.
You can use game object and then in the fsm use actions like 'Rect Transform Get/Set Local Position'.
Also you probably should use local variables for this.
Try to minimize using globals.
Also its good to look to some tutorials to understand how Playmaker works, as it works different from other state machines
Hi djaydino, thank you very much for your answer, I have been using playmaker for two months, and I am falling in love with it, but for this problem I have not been able to find any tutorial, I have been trying for about 2 weeks, day and night, but nothing, the main problem is this.
How can I connect the transform of my player to two UI buttons, Save & Load?
I created a global variable> object> transform, and I dragged the cube of my scene into the transform field of the global variable, but isn't allow me, so I created a prefab of the cube and it worked, but when I drag the prefab into the scene, rightly the global variable receives the transform of the prefab in the asset, not that of the scene and does not update the position x, y, z of the player.
Imagine this, I have a UI, with two Save and load buttons, when I click on Save, I want the position of the player to be saved, but when I click load, I want the position of the player to be restored to the same place as before, for do this, shouldn't i save the position in a variable? But if I use the local variable, rightly, being the buttons 2, the variable will be present in the first button, but not in the second, to use the same variable for two buttons I have to use a global variable, but if I use a global one, it doesn't make me insert the transform of the player in the variable field.
I will tell you the truth, I know the difference between the transform and the rect transform in unity, but I have never used it as a playmaker, and I don't know how it works, among other things, looking for information on yt and google for months I have never had to deal with it, could you recommend a good tutorial with playmaker and with the rect transform?
Anyway, I wanted to thank you for your help, you can't imagine how much it means to me right now.