Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | potatobanana |
i use KinematicBody2D
how to get mask id
example when i collide with mask 1(player) = queue_free(), mask 3(stone) = stop move, mask 5(item) = change color
if i code like this
if move_and_collide(velocity*delta):
queue_free()
it will apply to all mask… so how to make it apply to only one mask