Adding a point into path

How can I add point into path when pen doesnt show possibility of adding on the edited line in for instance rectangle modification?

@Juraj_Prochaska just to clarify – are you wanting to be able to add points onto an object using the pen tool in order to manipulate the shape?