

def build(self):
    f = FboFloatLayout()
    b = Factory.Button(text='FBO', size_hint=(None, None))
    b.add_widget(b)

    def anim_btn(*args):
        if (b.pos[0] == 0):
            Animation(x=(f.width - b.width)).start(b)
        else:
            Animation(x=0).start(b)
    b.bind(on_press=anim_btn)
    return f

dataset/ETHPy150Open kivy/kivy/examples/canvas/fbo_canvas.py ScreenLayerApp.build/VarMisuse@35/43 `f`->`b`