If you actually rotate your char, then you could use the Characters Forward Vector to dash. That video here should be able to help you, should work for 2D too: