shikii=0.3 : stick out xx,yy if abs(xx)<shikii then xx=0 if abs(yy)<shikii then yy=0 xx=sgn(xx) yy=sgn(yy) 試してないけど間違ってないはず