Entonces seria algo como:
if distance_to_object (obj_player)<5{
sprite_index=spr_punch
}
if image_index=9{
instance_create (obj_hit)
}
esta bien asi?
if distance_to_object (obj_player)<5{
sprite_index=spr_punch
}
if image_index=9{
instance_create (obj_hit)
}
esta bien asi?