Well, the first one isn't really a bug, but I do need a few tips. I have a few objects, but I'm working on a tree right now. It's a top down style game and I need it so the charactor is visible in when in front of the tree, but when he goes behind it he's not visible, but make it so when I go in front of the tree not all the other people do aswell. The script I tried was basically:
If Y pos of Charactor is Greater than Tree, change layer of tree to layer of Charactor - 1 and the other is the opposite.
Solve for X
I'm using a basic movement, basically you only face either up or down and straife from side to side. I have 6 detectors, one for each side then two on the front and back to detect objects within reach, but other than that it's just basically press a button and it moves charactor from his current position + 2 and when he hits an object it sends him the opposite direction enough for him to stop and walk in place. I have borders set around the outside of the playing field but he likes to squeeze through the corners and get stuck outside the playing field which is hella gay.