# Interactive use of Makie

**URL:** https://discourse.julialang.org/t/interactive-use-of-makie/17980
**Category:** General Usage
**Tags:** plotting
**Created:** [November 25, 2018, 3:38pm UTC](https://discourse.julialang.org/t/interactive-use-of-makie/17980 "2018-11-25T15:38:50Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)
#### Post date: [November 25, 2018, 3:38pm UTC](https://discourse.julialang.org/t/interactive-use-of-makie/17980/1 "2018-11-25T15:38:50Z")

</div>

I am trying to use Makie interactively. This means, make a plot, change some values in the repl, make a new plot. The new plot shall only be added to the screen. This doesn’t work for me yet.

Precondition: Add my tiny test package:

```julia
]
add https://github.com/ufechner7/KiteViewer.jl

```

Then type:

```julia
using KiteViewer
rects()
show3d()

```

This displays three rectangles.  
If you type now:

```julia
spheres()

```

The scale of the coordinate system changes, but no sphere is displayed.  
If you now type

```julia
show3d()

```

The sphere is now displayed, but the complete window is closed and redisplayed.

The code:

```julia
function spheres()
    mesh!(Sphere(Point3f0(0), 0.5f0), color = :blue)
    nothing
end

show3d()=display(Makie.Screen(), scene)

```

How can I achieve the goal that with the function spheres() the sphere is displayed without redrawing the everything?

---

<div class="post-metadata">

### Author: ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)
#### Post date: [November 25, 2018, 6:32pm UTC](https://discourse.julialang.org/t/interactive-use-of-makie/17980/2 "2018-11-25T18:32:08Z")

</div>

Additional question:

I would already be glad if I could move a 3D object like a sphere without redrawing the rest of the scene.
