See if lines 84-102 help. ABXY aim, and L fires. X,Y is your position, and W,Z is the end point of your line(where you aim at) created by a GLINE X,Y,W,Z,RGB(255,255,255) (not shown).