collision mask and collision layer problem

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By vania23

so i have a player with collision layers 1 and 11 with masks 1,2,3,5,10,11
i have a cube with layers 1 and 11 and masks 1,2,3,4,5,10,11
i need to make a wall which makes only cube or player go through. How do i make it?

:bust_in_silhouette: Reply From: Moreus

is from GD3 but theory is the same