can be done with Lua or via values & jump to x action part in-editor. Daedalic actually made their interfaces (deponia etc) slide in/out via a mixture of both editor action parts & Lua script. That method did not really make much sense to me & thus I wrote
this.
in-editor you could do something like...
let's say I have an interface I want to slide in from the top. The interface is 200px high & so I have set the default absolute position of the interface to -180; leaving a 20px overlapping back into the screen - you don't have to leave an overlap as you can just add a blank object or button or something which triggers slide in/out on mouse over/out or left click (immediate).
1. create a value "int_pos" & set the initial value to "-180"
2. create a condition "int_slide" & set default value to "false"
3. create a called by other action "open_interface" containing...
if condition 'slide'
if value 'int_pos' < 200
execute script ' see code block below '
value 'int_pos' + 1
pause 100ms
jump 5 action part(s) backwards
else
change condition 'slide' to false
end if
end if
local int = getObject("Interfaces[interface_name]")
local pos = int:getPoint(VInterfaceOffset)
int:setValue(VInterfaceOffset, {x = pos.x + 1, y = pos.y})
4. create a called by other action "close_interface" containing...
if condition 'slide'
if value 'int_pos' > -180
execute script ' see code block below '
value 'int_pos' - 1
pause 100ms
jump 5 action part(s) backwards
else
change condition 'slide' to false
end if
end if
local int = getObject("Interfaces[interface_name]")
local pos = int:getPoint(VInterfaceOffset)
int:setValue(VInterfaceOffset, {x = pos.x - 1, y = pos.y})
5. on mouse over trigger object or interface set slide to true & call "open_interface" action
6. on mouse out set slide to true & call "close_interface" action
I have not tested this... It's a complete guess off the top of my head.