what I do is get the buddy's text and check for sign such as:
If picked_object <> 0 And picked_object <> terrain Then xs#=Float#(WB3D_GetGadgetText$(txtXScale)) ss=Sgn(xs) If xs# <> 0 Then If ss>0 Then ScaleEntity picked_object,xs,xs,xs Else xs#=Float#(Abs(1/xs)) ScaleEntity picked_object,xs#,xs#,xs# End If End If