OnEndUse function

Learn technical details about the OnEndUse function.