This was originally for a gamejam but i had no time to finish because of.. stuff this is really glitchy but you can tweak it:) But i mean you can use this for your scrolling game "W" to move towards your mouse pointer
Credit to heldlaw for this weird movement script And credit to TeenySpoon for fixing the infinite movement of the npc's