Punch in and out no sound

While trying to punch in, there`s no sound coming from what I´m recording. I Can switch on the monitor before playback. But then I can only hear the other instruments. And when recording starts at punch in I can then again hear my guitar playing live.

So I want to play along whith the track. And when punch in starts I also want to hear what I´m playing. I know this can be done. But can`t remember how.

I believe it’s in Preferences → VST → Auto Monitoring, set this to tapemachine style.

Found it. Thanks for the help!