onPress 2 actions

If I want a button to perform 2 actions such as 1st time onPress the mc visible true and 2nd time onPress the mc visible false and true and false and so on.:ko: