Drawing InputAction Property Drawer in a custom editor?

I am very lost. What I want to do is to draw the property drawer of the InputAction class:

In a custom editor for a class.

I believe that I would need to use EditorGUILayout.PropertyField() in order to achieve this. However, I would need to convert an instance of the class InputAction into a SerializedProperty in order to pass it through the function. I do not know how to convert this.

I am not too sure if I am on the right track; Property Drawers confuse me, and scanning through the input’s system code confuses me even more.

So if I were to boil the question down to one, generalizable question, it would be: “How do I draw a field with a custom property drawer into my custom inspector?”

Thank you! I appreciate the help.

Hey there, I was curious if you ever solved this problem?