Double click on the sprite, add "Set origin and image points" and add to both ends of the lightning segment.
On the sprite add Behaviour > Pin
This way you can move one and move the rest. Then on each branch of the lightning rotate segments of the lightning