playMaker

Author Topic: How to combine variables?  (Read 1250 times)

enthax

  • Playmaker Newbie
  • *
  • Posts: 1
How to combine variables?
« on: February 14, 2021, 10:57:20 AM »
I'm getting mouseX and mouseY as two different floats. But I need to turn them into a Vector2 in order to use the variable in another place. I know in code I'd do something like

new Vector 2 = Vector2(mouseX, mouseY);

But how do I do that in Playmaker?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: How to combine variables?
« Reply #1 on: February 14, 2021, 01:01:27 PM »
hi, search for vector2 xy action