Drag the weights. Balance the beam.
A beam balances when the total counterclockwise torque equals the total clockwise torque. Drag each weight along the beam and watch the net torque — and the beam itself — respond in real time.
You can also drag the weight blocks directly along the beam.