Hi Claus,many stars for you and thank you man.Code works 100%:)
I was thinking about another code ,prety similar(maybe?) to this one
with some more advanced functions.
If/When you have time do it please.
It take me time to concept this, to be precise on what exactly i wont:

we have 4 diferent entity(mdl`s) on screen

-only when mouse over entity = enable right mouse click to call "atched" panel.
(when rmb click anywhere else= just show mouse pointer)
-when right mouse click over the entity(sound perhaps) = panell with 5
buttons apear(specific to that entity only)
(it`ll be very convinient for panel to be near the entity (not infront)
so we can see it)

-button click function= replace that mdl with another one,at diferent position
in the level(or the same position, we can edit position in the script)
This (position) thing is very important.
Include two sounds for each button (highlite and click)
When buton clicked=meny pannel disapear (we can call panel when right click
on the changed mdl only)

note: each entity(on screen) have 5 mdl`s to switch when we make choice in panel.

Mdl control:

- each of that 5 mdl`s have 6 sequence of animation inside
(idle,spin,bounce,open...).
Idle animation start inmediatly when we switch to that mdl.
Other sequence are "keyboard dependent"
Need 6 keys on keyboard(q,w,e,a,s,d for example) to call & loop those
sequences,only when specific model is on the screen.
Metod:
When nothing pressed= "idle" playing
When press & hold button "q" = coresponded animation play & loop
When button relesed = "idle" playing again

When press "q + Shift" button(we do not need to hold it presed enymore)=
"q" coresponded animation play & loop
When "q" button is presed and relesed again = "idle" animation is playing again


-------------------------------------------------------------------------------
Take your time
One more thanks.