How to Minimize on a MAC

I’m new to this but have everything working great. One exception Kodi when started takes the whole computer screen. How can I make it like a window that I can shrink and expand? Thanks!