I dont know is there any possible solution for it? I want to move these elements in X-Y plane. These elements must be attached to nearest wall. anyhow but it must stick to wall.
This is what i did in dynamo. im sure something is wrong. because im giving just one axis. ( either x or y)
please reply with any logic you think. Appreciated