How get materials from static meshes?

well i’ll try, I was used a print strings but not work, to test it I need to hit play button? or in the editor will show me the string?