I would create group for all nodes that allow player to hide behind them and set visible property to true/false upon collisions with these nodes. You could also use shader for that, or if You dont plan on using collisions - make use of Z index for sprites. Of course all of these are just visual so it won't make difference for your AI's detection, You have to code it additionally, make some state machine with "hidden" and "noticed" :)