Get element face from wall with material paint

Hello everyone,

I want to get element face from wall with material paint.
Please suggest me.