Can I Still use my MacBook while streaming to an Apple TV

I have an apple TV 3rd generation and a MacBook pro 2016. Been trying out how I can stream movies from my mbp to the apple TV using my mbp while doing something else entirely on the mbp.
Like what do I need if I want someone watching a movie on the TV from my mbp while I'm surfing the net on the MacBook.
I've tried everything setting I could see and I'm still hitting a brick wall
Use AirPlay and second screen. Be sure the TV is the second screen. I stream Twitch from my MacBook to my Apple TV every Friday night this way.
Use AirPlay and second screen. Be sure the TV is the second screen. I stream Twitch from my MacBook to my Apple TV every Friday night this way.

Thanks a whole lot. Just got the hang of it

Original thread: https://forums.imore.com/threads/can-i-still-use-my-macbook-while-streaming-to-an-apple-tv.417748/