Im trying to make somthing shrink when it touches an object help please

im trying to make somthing shrink when it touches an object help please i need a code for this its basically a heathbar the object is the enemy and the hero is the object it is touching then i want the heathbar to shrink for the hero and i think i can do this with a set of frames when the enemys image hits the heros image then i want the heathbar to shrink if i need to elaborate please let me know!

touch fight-Jan25-2019-7.24PM.wick (3.4 KB)
Here ya go, everything is in the player clip. You can use the healthbar’s scaleX property to make it shrink!

2 Likes