help with ghost.

For my sprite I want to make a collision system that is separate from the usual one. My first idea was to turn on ghost through walls but it also disables the <Is (My Sprite) hitting wall [Left]> block. How can i fix this.