“Bhikkhus, for direct knowledge of lust, four things are to be developed. What four? (1) Here, a bhikkhu develops the basis for psychic potency that possesses concentration due to desire and activities of striving. (2) He develops the basis for psychic potency that possesses concentration due to energy … (3) … that possesses concentration due to mind … (4) … that possesses concentration due to investigation and activities of striving. For direct knowledge of lust, these four things are to be developed.”
AN4_276: Iddhipādasutta
Iddhipādasutta - translated by Bhikkhu Bodhi