hi i would need help with my project i have a block thats movable cus i got help from this My Project3-20-2022_16-58-03.wick (13.0 KB) from someone i kinda forgot but i have this movable block that if it hits something it blocks it but wick says error line 21 and its not reading the code heres the code
if(this.hits(character)){
this.x+=(this.x-character.x)*0.1
}
if(this.hits(competitor)){
this.x-=(this.x-character.x)*0.1
}
if(this.hits(ghost)){
this.x-=(this.x-character.x)*0.1
}