More infos... Draw.Rect(0, 0, Rap, Draw.h) <----- FScale.class line 111 generates the error Draw.Foreground = Color.Black Draw.Line(Rap, 0, Rap, Draw.H) <------ also this