What kind of game is it? You would normally use bullet behaviour for this, to move toward mouse click. With 8-direction you would have to do something like determine whether mouse xy is more or less than player and then simulate control in a direction.