cast to widget inside blueprint

You can directly set the float x like this: