Stuck with the mouse position

BellowBellow BartenderMember, PRO Posts: 227

Hi. I am working on a new game i make everything. My games camera at the x 100 y 150 so i am not using 0 0 coordinates. But there is problem. I use a code where my actor follow drawing line but my mouse position always start at the 0 0 coordinates. How can i change it to my camera position.

Here a screen shot about scene

Comments

  • BellowBellow Bartender Member, PRO Posts: 227

    and my second problem is i used this one for follow drawing its working with mouse button but not working with touch. I try it on the device to :/

  • SocksSocks London, UK.Member Posts: 12,822

    Mouse X + Camera Origin X
    Mouse Y + Camera Origin Y

  • BellowBellow Bartender Member, PRO Posts: 227
    edited October 2015

    i feel like stupid now :D. thank you @socks. what about touch thing do you know anything about that problem ?

    ok i make it with attribute rule never mind.

Sign In or Register to comment.