For clarification;

The red triangle is to show you which skills you CANNOT use anymore after doing the action you're about to plan (move, cast a skill).

On the AP bar (the circles) you can see exactly how many AP you would use, and how much would be left by the green ones being the amount your action will use up, and the reds the amount remaining.

All to assist you to use the best of your turn (mostly with moving).