Connecting a line between two points that are moving

dude180

  • Posts: 1
I am trying to connect a line from my moving charachter, to a fixed point, but I am not sure how to, everything that I have tried isn't working

Luyren

  • *
  • Posts: 2754

Use the above block to draw a line between the position of your actor and the fixed point.

And watch this video to understand how drawing works: https://youtu.be/diMrZg95Oqw
You are looking for the segment about "scene space" in the "Transform" chapter. I recommend you watch the whole thing to get familiar with the drawing blocks though.
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.
Twitter