whirlpool dryer getting too hot

My dryer element is getting very hot and does kick off like its suppose to after a few minutes but my clothes aren’t drying. All the ducts are clear and i changed the thermostat still isn’t drying the clothes. I can feel warm air coming out the back so I know that its heating on the inside. Any suggestions?

A model number may help others help you.

Unplug the unit and disconnect it from the vent system.
Now try a run.
If it now dries OK odds are the vent system needs checking/cleaning.
Be sure to check that the louvers on the outside of the house open correctly.

If you do not want any lint in the house.
Take a pair of pantyhose.
Put one leg into the other and then attach this to the dryer’s vent.
Leave enough room so the pantyhose can balloon out like a windsock.

Both the above will let you check the temperature and the air flow.

Note: The above is not recommended for gas dryers due to carbon monoxide concerns.