Use the sliders to change the size of the triangle and the Hypotenuse Hypotenuse = square root of (Height² + Length²)
Get direction script by @griffpatch