# Freeing up cpu usage

**URL:** <https://forum.kirupa.com/t/freeing-up-cpu-usage/152663>\
**Category:** Uncategorized\
**Created:** [June 26, 2005, 4:17pm UTC](https://forum.kirupa.com/t/freeing-up-cpu-usage/152663 "2005-06-26T16:17:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Soul814](https://avatars.discourse-cdn.com/v4/letter/s/4491bb/32.png) [@Soul814](https://forum.kirupa.com/u/Soul814)\
**Post date:** [June 26, 2005, 4:17pm UTC](https://forum.kirupa.com/t/freeing-up-cpu-usage/152663/1 "2005-06-26T16:17:40Z")

</div>

so yea i checked the river is creating a 100% cpu, whats the best way to move the river? Uncommented river n cpu was 20-35%

Method 1

```auto

onClipEvent (enterFrame) {
	_x -= 3;
	if (_x<=-400) {
		_x = 0;
	}
}

```

Method 2  
Use frames in a movie clip.

Either way the cpu is still 90-100%
