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


#1

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!


#2

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!