The problem is, that I allready do that. Only in Lite-C.
the function ent_createlayer only returns the entity, you can't
assign an action directly.
I create the screen entities procedural, so I can't prdefine them.
I come more and more to the conclusion, that it is not possible, to let them react to the mouse.