I want to create a new environment, from frame environment, but I want to add the command \frametitle so it shows the title of the current section. Anyone have any idea how to do.
It would be much easier if you can simply put a simple MWE. It's only six lines of code anyway. So here is my guess.