How to have physics objects have flipped gravity?

So, I am trying to make some bonus levels in my game with a special mechainic : flipped gravity.

The physics object should fly to the ceeling when it touches the ground, but I don’t know how to do it.

IDK why the image dosen’t show

oh ok it does show

please fix my problem

Change the objects gravity scale. This action will flip gravity for the object- gravity down is flipped to up, and gravity up is flipped to down:

image